package com.xw.service;

import com.xw.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xw.vo.ResultVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author y
 * @since 2021-09-14
 */
public interface IAdminService extends IService<Admin> {
    ResultVO<?> toLogin(String userName, String pwd);

    ResultVO<?> logout(String userId);

    ResultVO<?> updPwd(String userId, String oldPwd, String newPwd);
}
